@use "@/assets/styles/mixin";
.contract-materials{
  @include mixin.flex-column;
  position: relative;
  flex:1;
  overflow: auto;
  padding: 20px;
  .el-divider{
    margin-top: 10px;
    margin-bottom: 20px;
  }
}
.contract-materials-content{
  @include mixin.flex-column;
  position: relative;
  flex:1;
  overflow: auto;
}
.contract-materials-list{
  background: #F5F7FA;
  border-radius: 4px 4px 4px 4px;
  padding: 10px 20px;
  margin-bottom: 10px;

}
.contract-materials-list__header{
  display: flex;
  justify-content: space-between;
  align-items: center;

}
.divider-blue{
  width: 4px;
  height: 16px;
  background: #007DFF;
  border-radius: 2px 2px 2px 2px;
  margin-right: 10px;
}
.divider-grey{
  width: 4px;
  height: 20px;
  background: #DCDFE6;
  border-radius: 2px 2px 2px 2px;
  margin: 0 20px;
}
.flex{
  display: flex;
}
.align-center{
  align-items: center;
}
.space-between{
  justify-content: space-between;
}
.contract-number{
  font-weight: 400;
  font-size: 16px;
  color: #3D3D3D;
  margin-right: 20px;
}
.contract-materials-buttons{
  font-size: 14px;
  color: #007DFF;
  cursor:pointer;
}
.label-name{
  font-weight: 400;
  font-size: 14px;
  color: #86909C;
  span{
    font-weight: 400;
    font-size: 14px;
    color: #4E5969;
    line-height: 22px;
    margin-left: 10px;
  }
}
.text-right{
  text-align: right;
}
.text-center{
  text-align: center;
}
.mb20{
  margin-bottom: 20px;
}
.err-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* 作废 */
.delete-dialog{
  :deep(.el-dialog)  {
    margin-top: 0 !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 4px 25px 0px rgba(4,19,74,0.3);
    border-radius: 10px 10px 10px 10px;
    padding: 40px 30px;
    .el-dialog__title{
      font-size: 18px;
      font-weight: 600;
    }
    .el-dialog__body{
      text-align: center!important;
    }
    .el-dialog__footer{
      margin-top: 20px!important;
      .el-button{
        width: 92px;
        height: 36px;
      }
    }
  }
}
.upload-file-li {
  display: flex;
  flex-flow: wrap;
  overflow: auto;
  max-height: 300px;
}

.upload-file-item {
  position: relative;
  display: flex;
  flex-flow: wrap;
  border-radius: 4px 4px 4px 4px;
  border: 1px solid #eaecf0;
  padding: 8px 10px;
  margin: 15px 10px 0;
}

.flile-name {
  width: 65px;
  margin-left: 10px;
  overflow: hidden; /*内容超出后隐藏*/
  text-overflow: ellipsis; /*超出内容显示为省略号*/
  white-space: nowrap; /*文本不进行换行*/
}
:deep(.el-dialog){
  padding: 16px !important;
}
.upload-but {
  .el-button {
    width: 134px;
    height: 36px;
  }

  .copy {
    width: 280px;
  }
}